package com.kot.matchingsystem;

import com.kot.matchingsystem.service.impl.MatchingServiceImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication//表明这是springboot的入口
public class Main {
    public static void main(String[] args) {
        MatchingServiceImpl.matchingPool.start();  // 启动匹配线程
        SpringApplication.run(Main.class,args);//传入类，是springboot启动的入口

    }
}